CC=g++
SRC=../../common/thread

thread:test_thread.o thread.o
	$(CC) -o thread test_thread.o thread.o -lpthread -lgtest
test_thread.o:test_thread.cpp
	$(CC) -c test_thread.cpp 
thread.o:$(SRC)/thread.cpp
	$(CC) -c $(SRC)/thread.cpp
.PHONY:clean
clean:
	-rm thread test_thread.o thread.o
    